<div class="fly-home fly-panel"
  style="background-image: url({$LoginUser[\'cover\']});background-repeat: no-repeat;background-size: 100%;">
  <img src="{$Think.cookie.LoginUser['avatar']}" alt="贤心">

   <!-- 认证 -->
  {if condition="$Think.cookie.LoginUser['auth'] > 0"}
  <i class="iconfont icon-renzheng" title="Fly社区认证"></i>
  {/if}
  <h1>
    {$Think.cookie.LoginUser['nickname']}

      <!-- 性别 -->
    {if condition="$LoginUser['sex'] == 1"}
    <i class="iconfont icon-nan"></i>
    {elseif condition="$LoginUser['sex'] == 2"}
    <i class="iconfont icon-nv"></i>
    {/if}

    <!-- vip -->
    {if condition="$Think.cookie.LoginUser['vip'] > 0"}
    <i class="layui-badge fly-badge-vip">VIP{$Think.cookie.LoginUser['vip']}</i>
    {/if}
    <!--
    <span style="color:#c00;">（管理员）</span>
    <span style="color:#5FB878;">（社区之光）</span>
    <span>（该号已被封）</span>
    -->
  </h1>

  <!-- 认证信息 -->
  {if condition="$Think.cookie.LoginUser['auth'] > 0"}
  <p style="padding: 10px 0; color: #5FB878;">认证信息：{$Think.cookie.LoginUser['nickname']}</p>
  {else /}
  <p style="padding: 10px 0; ">认证信息：暂无</p>
  {/if}
  <p class="fly-home-info">
    <i class="iconfont icon-kiss" title="飞吻"></i><span style="color: #FF7200;">{$LoginUser['point']} 积分</span>
    <i class="iconfont icon-shijian"></i><span>{$LoginUser['createtime']} 加入</span>
    {if condition="$LoginUser.provinces"}
    <i class="iconfont icon-chengshi"></i>
    <span>来自 {$LoginUser.provinces.name}
      {$LoginUser.citys.name}
      {$LoginUser.districts.name}
    </span>
    {else /}
    <i class="iconfont icon-chengshi"></i><span>保密</span>
    {/if}
  </p>

  {if condition="$LoginUser['content']"}
  <p class="fly-home-sign">{$LoginUser['content']}</p>
  {else /}
  <p class="fly-home-sign">(这个人很懒，啥没有留下)</p>
  {/if}
  <!-- <div class="fly-sns" data-user="">
    <a href="javascript:;" class="layui-btn layui-btn-primary fly-imActive" data-type="addFriend">加为好友</a>
    <a href="javascript:;" class="layui-btn layui-btn-normal fly-imActive" data-type="chat">发起会话</a>
  </div> -->

</div>
<div class="layui-container">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md6 fly-home-jie">
      <div class="fly-panel">
        <h3 class="fly-panel-title"><span style="color: #00b3aa;">{$Think.cookie.LoginUser['nickname']}</span> 最近的提问</h3>
        <ul class="jie-row">
          {foreach $posts as $item}
          <li>
            <span class="fly-jing">精</span>
            <a href="{:url('home/index/info', ['postid' => $item['id']])}" class="jie-title"> {$item.title}</a>
            <i>{:Tiemstr($item.createtime)}</i>
            <em class="layui-hide-xs">{:commsun($item.visit)}阅/{$item.comment}答</em>

          </li>
          {/foreach}
        </ul>
      </div>
    </div>
    
    <div class="layui-col-md6 fly-home-da">
      <div class="fly-panel">
        <h3 class="fly-panel-title">贤心 最近的回答</h3>
        <ul class="home-jieda">
          <li>
          <p>
          <span>1分钟前</span>
          在<a href="" target="_blank">tips能同时渲染多个吗?</a>中回答：
          </p>
          <div class="home-dacontent">
            尝试给layer.photos加上这个属性试试：
<pre>
full: true         
</pre>
            文档没有提及
          </div>
        </li>
        <li>
          <p>
          <span>5分钟前</span>
          在<a href="" target="_blank">在Fly社区用的是什么系统啊?</a>中回答：
          </p>
          <div class="home-dacontent">
            Fly社区采用的是NodeJS。分享出来的只是前端模版
          </div>
        </li>
        
          <!-- <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><span>没有回答任何问题</span></div> -->
        </ul>
      </div>
    </div>
  </div>
</div>